package com.gec.domain;

/**
 * @author Aniki
 * @date 2021-12-20
 */
public class Permission {
    private String id;
    /**映射地址*/
    private String mapping;
    /**许可证，权限*/
    private String permission;
    public Permission() {
    }

    public Permission(String id, String mapping, String permission) {
        this.id = id;
        this.mapping = mapping;
        this.permission = permission;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMapping() {
        return mapping;
    }

    public void setMapping(String mapping) {
        this.mapping = mapping;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    @Override
    public String toString() {
        return "Permission{" +
                "id='" + id + '\'' +
                ", mapping='" + mapping + '\'' +
                ", permission='" + permission + '\'' +
                '}';
    }
}
